package com.yellowframework.cloud.api.system;

import com.yellowframework.cloud.common.model.response.ObjectResponseResult;
import com.yellowframework.cloud.common.model.response.QueryResponseResult;
import com.yellowframework.cloud.common.model.response.ResponseResult;
import com.yellowframework.cloud.domain.system.SysDictionaryData;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestBody;

@Api(tags="字典数据")
public interface SysDictionaryDataControllerApi {

    @ApiOperation("分页查询列表数据")
    QueryResponseResult<SysDictionaryData> pageList(Integer dictionaryid, Integer page, Integer size);

    @ApiOperation("信息")
    ObjectResponseResult<SysDictionaryData> get(Long id);

    @ApiOperation("保存")
    ResponseResult save(SysDictionaryData request);

    @ApiOperation("修改")
    ResponseResult update(Long id, SysDictionaryData request);

    @ApiOperation("删除")
    ResponseResult delete(@RequestBody Long[] ids);
}
